import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//引入全局组件
import GlobalComDemo from './components/GlobalComDemo.vue'

const appInstance = createApp(App)
appInstance.component(GlobalComDemo.name,GlobalComDemo)


//挂在路由
appInstance.use(router)

//注册Vuex
appInstance.use(store)

appInstance.mount('#app')

